package cn.com.lms.business.exam.persistence.entity;


import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;



@Getter
@Setter
@Entity
@Table(name = "bnz_exam_paper_subject")
@Schema(description="试卷试题表")
public class PaperSubject  extends BaseEntity {

  @Schema(description = "试卷ID")
  @Column(name = "paper_id")
  private Long paperId;

  @Schema(description = "试题ID")
  @Column(name = "subject_id")
  private Long subjectId;


  @Schema(description = "分数")
  private Integer score;

  @Schema(description = "排序号")
  @Column(name = "sort_id")
  private Integer sortId;


  @Schema(description = "是否删除 0-未删除 1-已删除")
  @Column(name = "is_delete")
  private Boolean isDelete;



}
